package com.oo.packaging_2.subject;

/**
 * Subject--${description}
 *
 * @author: Jovi
 * @createTime: 2017-04-19 16:44
 **/
public class Subject {

    private int subjectNo;

    private String sName;

    private int count;

    public Subject(int subjectNo, String sName) {
        this.subjectNo = subjectNo;
        this.sName = sName;
    }

    public Subject() {
    }

    public int getSubjectNo() {
        return subjectNo;
    }

    public void setSubjectNo(int subjectNo) {
        this.subjectNo = subjectNo;
    }

    public String getsName() {
        return sName;
    }

    public void setsName(String sName) {
        this.sName = sName;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public void intr() {
        System.out.println(sName + "专业目前有" + count + "名学生");
    }
}

